using RayDen.Library.Core.Primitives;

namespace SmallVCM
{
    public class Material
    {
        public RgbSpectrum mDiffuseReflectance;
        // Phong is simply added to the others
        public RgbSpectrum mPhongReflectance;
        public float mPhongExponent;

        // mirror can be either simply added, or mixed using Fresnel term
        // this is governed by mIOR, if it is >= 0, fresnel is used, otherwise
        // it is not
        public RgbSpectrum mMirrorReflectance;

        // When mIOR >= 0, we also transmit (just clear glass)
        public float mIOR; 
    }
}